package com.osc.exam.base;

public enum StatusEnum {
    /**
     * 枚举类型
     */
    ZERO(0),
    ONE(1),
    TWO(2),
    THREE(3),
    FOUR(4),
    FIVE(5),
    SIX(6),
    SEVEN(7),
    EIGHT(8);


    private Integer status;

    /**
     * 私有构造,防止被外部调用
     *
     * @param status
     */
    StatusEnum(Integer status) {
        this.status = status;
    }

    /**
     * 定义方法,返回描述,跟常规类的定义没区别
     *
     * @return
     */
    public Integer getStatus() {
        return status;
    }
}
